import requests

'''
# 大模型都这么厉害了，微调0.6B的小模型有什么意义？
# https://github.com/datawhalechina/happy-llm/tree/main/Extra-Chapter/why-fine-tune-small-large-language-models

https://github.com/datawhalechina/happy-llm

# https://github.com/microsoft/LoRA


https://github.com/neosun100/DeepSeek-OCR-WebUI?tab=readme-ov-file

pip install gradio  -i https://pypi.tuna.tsinghua.edu.cn/simple
https://github.com/gradio-app/gradio

'''
# 生成文本
response = requests.post(
    "http://localhost:11434/api/generate",
    json={
        "model": "qwen3:4b",
        "prompt": "你好，你能帮我写一段代码吗？python实现冒泡排序算法。",
        "stream": False
    }
)
print(response.json())